package com.bto.solar.work.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.springframework.boot.configurationprocessor.json.JSONObject;

import java.sql.Timestamp;

/**
 * @author shiyi
 */
@Getter
@Setter
@Data
@Accessors(chain = true)
@ApiModel(value = "LeasePrjProjectProduct对象", description = "越秀-产品表")
public class LeasePrjProjectProductReq {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("产品编号")
    private String code;

    @ApiModelProperty("地区类别")
    private String areaType;

    @ApiModelProperty("地区")
    private String area;

    @ApiModelProperty("基准发电小时数(h)")
    private JSONObject basicEleTime;

    @ApiModelProperty("光伏板衰减率")
    private JSONObject decayRate;

    @ApiModelProperty("保证金比例")
    private JSONObject depositRatio;

    @ApiModelProperty("电价(元/kwh)")
    private JSONObject elePrice;

    @ApiModelProperty("设备单价(元/瓦)")
    private JSONObject equipmentPrice;

    @ApiModelProperty("运维费用(元/瓦/年)")
    private JSONObject maintenancePrice;

    @ApiModelProperty("厂商收益分成比例")
    private JSONObject manufacturerInconeRatio;

    @ApiModelProperty("残值率")
    private JSONObject residualsRate;

    @ApiModelProperty("承租人收益(元/块光伏板/年)")
    private JSONObject tenantIncomePrice;

    @ApiModelProperty("组件型号")
    private JSONObject component;

    private Timestamp createdTime;

    private Timestamp updatedTime;

}
